package com.yb.module.model.domain;

import java.io.Serializable;

import com.yb.framework.core.base.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 模板信息
 */
@Data
@EqualsAndHashCode(callSuper=false)
public class ModelTemplate extends BaseEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/** 父ID **/
	private Long parentId;
	/** 名称 **/
	private String name;
	/** 备注 **/
	private String remark;
	
	/** 单元组IDs **/
	private Long[] shapeIds;
	
	/** 名称 **/
	private String text;
	/** 是否展开 **/
	private String state = "open";

	public ModelTemplate() {
		super();
	}
	public ModelTemplate(Long parentId) {
		super();
		this.parentId = parentId;
	}
}